
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/x-icon" href="style/favicon.ico"/>
<link href="style/style.css" rel="stylesheet" type="text/css" />
<link href="style/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-3.5.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/gatling.js"></script>
<script src="js/menu.js"></script>
<script src="js/ellipsis.js"></script>
<script src="js/all_sessions.js"></script>
<script src="js/stats.js"></script>
<script src="js/highstock.js"></script>
<script src="js/highcharts-more.js"></script>
<script src="js/theme.js"></script>
<script src="js/unpack.js"></script>
<title>Gatling Stats - busca inválida</title>
</head>
<body>
<div class="app-container">
<div class="frise"></div>
<div class="head">
  <div class="gatling-open-source">
    <a class="gatling-logo" href="https://gatling.io" target="blank_" title="Gatling Home Page"><img alt="Gatling" src="style/logo.svg"/></a>
    <a class="gatling-documentation" href="https://gatling.io/docs/" target="_blank">Documentation</a>
  </div>
  <a class="enterprise" href="https://gatling.io/enterprise/next-step/" target="_blank">Try <img alt="Gatling Enterprise" src="style/logo-enterprise.svg"/></a></div>
<div class="container details">
  <div class="nav">
    <ul></ul>
  </div>
    <div class="cadre">
      <div class="content">
        <div class="content-header">
          <div class="onglet">
            RinhaBackendSimulation
          </div>
          <div class="sous-menu" id="sousMenu">
            <div class="sous-menu-spacer">
              <div class="item "><a href="index.html">Global</a></div>
                <div class="item ouvert"><a id="details_link" href="#">Details</a></div>
              </div>
            </div>
          </div>
          <div class="content-in">
            <div class="container-article">
            <div class="article">
              
              
<div class="schema-container">

            <div id="ranges" class="schema ranges-large">
            </div>

                        <div class="infos">
                            <div class="infos-in">
	                        <div class="infos-title">Stats</div>
                                <div class="repli"></div>                               
                                <div class="info">
                                    <h2 class="first">Executions</h2>
                                    <table>
                                        <thead>
                                            <tr><th></th><th>Total</th><th>OK</th><th>KO</th></tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td class="title">Total count</td>
                                                <td id="numberOfRequests" class="total"></td>
                                                <td id="numberOfRequestsOK" class="ok"></td>
                                                <td id="numberOfRequestsKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Mean count/s</abbr></td>
                                                <td id="meanNumberOfRequestsPerSecond" class="total"></td>
                                                <td id="meanNumberOfRequestsPerSecondOK" class="ok"></td>
                                                <td id="meanNumberOfRequestsPerSecondKO" class="ko"></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <h2 class="second">Response Time (ms)</h2>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th></th>
                                                <th>Total</th>
                                                <th>OK</th>
                                                <th>KO</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td class="title">Min</td>
                                                <td id="minResponseTime" class="total"></td>
                                                <td id="minResponseTimeOK" class="ok"></td>
                                                <td id="minResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">50th percentile</td>
                                                <td id="percentiles1" class="total"></td>
                                                <td id="percentiles1OK" class="ok"></td>
                                                <td id="percentiles1KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">75th percentile</td>
                                                <td id="percentiles2" class="total"></td>
                                                <td id="percentiles2OK" class="ok"></td>
                                                <td id="percentiles2KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">95th percentile</td>
                                                <td id="percentiles3" class="total"></td>
                                                <td id="percentiles3OK" class="ok"></td>
                                                <td id="percentiles3KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">99th percentile</td>
                                                <td id="percentiles4" class="total"></td>
                                                <td id="percentiles4OK" class="ok"></td>
                                                <td id="percentiles4KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Max</td>
                                                <td id="maxResponseTime" class="total"></td>
                                                <td id="maxResponseTimeOK" class="ok"></td>
                                                <td id="maxResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Mean</td>
                                                <td id="meanResponseTime" class="total"></td>
                                                <td id="meanResponseTimeOK" class="ok"></td>
                                                <td id="meanResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Standard Deviation</td>
                                                <td id="standardDeviation" class="total"></td>
                                                <td id="standardDeviationOK" class="ok"></td>
                                                <td id="standardDeviationKO" class="ko"></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>

</div>
<div class="statistics extensible-geant collapsed">
    <div class="title">
        Errors
    </div>
    <table id="container_errors" class="statistics-in extensible-geant">
        <thead>
            <tr>
                <th id="error-col-1" class="header sortable"><span>Error</span></th>
                <th id="error-col-2" class="header sortable"><span>Count</span></th>
                <th id="error-col-3" class="header sortable"><span>Percentage</span></th>
            </tr>
        </thead>
		<tbody>
		    
		    <tr>
		    	<td class="error-col-1 total ko">j.n.ConnectException: finishConnect(..) failed: Connection refused<span class="value" style="display:none">0</span></td>
		    	<td class="value error-col-2 total ko">4190</td>
		    	<td class="value error-col-3 total ko">100 %</td>
		    </tr>
		</tbody>
    </table>
</div>

            <div class="schema geant">
              <div id="responsetimeDistributionContainer" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="responsetimepercentilesovertimeokPercentilesContainer" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="requests" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="responses" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="container_response_time_dispersion" class="geant"></div>
            </div>

            </div>
          </div>
        </div>
      </div>
    </div>
</div>
<script>
    var pageStats = stats.contents['req_busca-inva-lida-b5618'].stats;
    $(document).ready(function() {
        $('.simulation-tooltip').popover({trigger:'hover', placement:'left'});
        setDetailsLinkUrl();
        setDetailsMenu();
        setActiveMenu();
        fillStats(pageStats);
        
Highcharts.setOptions({
  global: { useUTC: false }
});

var rangesChart = new Highcharts.Chart({
  chart: {
    renderTo: 'ranges',
    marginRight: 100
  },
  credits: { enabled: false },
  legend: { enabled: false },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  xAxis: {
    categories: [
      pageStats.group1.htmlName,
      pageStats.group2.htmlName,
      pageStats.group3.htmlName,
      pageStats.group4.htmlName
    ]
  },
  yAxis: {
    title: { text: 'Number of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      var s;
      if (this.point.name) { // the pie chart
        s = ''+ this.point.name +': '+ this.y +'% requests';
      } else {
        s = ''+ this.y + ' requests';
      }
      return s;
    }
  },
  plotOptions: {
    series: {
      stacking: 'normal',
      shadow: true
    }
  },
  series: [
    {
      type: 'column',
      data: [{
      	color: '#68b65c',
      	y: pageStats.group1.count
      },
      {
      	color: '#FFDD00',
      	y: pageStats.group2.count
      },
      {
      	color: '#FFA900',
      	y: pageStats.group3.count
      },
      {
      	color: '#f15b4f',
      	y: pageStats.group4.count
      }]
    },
    {
      type: 'pie',
      name: 'Percentages',
      data: [
        {
          name: pageStats.group1.name,
          y: pageStats.group1.percentage,
          color: '#68b65c'
        },
        {
          name: pageStats.group2.name,
          y: pageStats.group2.percentage,
          color: '#FFDD00'
        },
        {
          name: pageStats.group3.name,
          y: pageStats.group3.percentage,
          color: '#FFA900'
        },
        {
          name: pageStats.group4.name,
          y: pageStats.group4.percentage,
          color: '#f15b4f'
        }
      ],
      center: [368, 0],
      size: 90,
      showInLegend: false,
      dataLabels: { enabled: false }
    }
  ]
});

rangesChart.setTitle({
  text: '<span class="chart_title">Response Time Ranges</span>',
  useHTML: true
});

	    $('#container_errors').sortable('#container_errors');
    
var responsetimeDistributionChart = new Highcharts.Chart({
  chart: {
    renderTo: 'responsetimeDistributionContainer',
    type: 'column',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: 5,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  xAxis: {
    categories: ['0', '1', '2', '3', '4', '5'],
    tickInterval: 20
  },
  yAxis: {
    min: 0,
    title: { text: 'Percentage of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      return '<b>'+ this.x +' ms</b><br/>'+
      this.series.name +': '+ this.y +' %<br/>'+
      'Total: '+ this.point.stackTotal + ' %';
    }
  },
  plotOptions: {
    series: {
      groupPadding: 0,
      stacking: 'normal',
	    shadow: true
    }
  },
  series: [
  	{
type: 'column',
color: '#68b65c',
name: 'OK',
data: [
  
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
},
  	{
type: 'column',
color: '#f15b4f',
name: 'KO',
data: [
  79.95,19.73,0.21,0.02,0.04,0.02
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
}
  ]
});

responsetimeDistributionChart.setTitle({
  text: '<span class="chart_title">Response Time Distribution</span>',
  useHTML: true
});

var responsetimepercentilesovertimeokPercentiles = unpack([[1692804460,null],[1692804461,null],[1692804462,null],[1692804463,null],[1692804464,null],[1692804465,null],[1692804466,null],[1692804467,null],[1692804468,null],[1692804469,null],[1692804470,null],[1692804471,null],[1692804472,null],[1692804473,null],[1692804474,null],[1692804475,null],[1692804476,null],[1692804477,null],[1692804478,null],[1692804479,null],[1692804480,null],[1692804481,null],[1692804482,null],[1692804483,null],[1692804484,null],[1692804485,null],[1692804486,null],[1692804487,null],[1692804488,null],[1692804489,null],[1692804490,null],[1692804491,null],[1692804492,null],[1692804493,null],[1692804494,null],[1692804495,null],[1692804496,null],[1692804497,null],[1692804498,null],[1692804499,null],[1692804500,null],[1692804501,null],[1692804502,null],[1692804503,null],[1692804504,null],[1692804505,null],[1692804506,null],[1692804507,null],[1692804508,null],[1692804509,null],[1692804510,null],[1692804511,null],[1692804512,null],[1692804513,null],[1692804514,null],[1692804515,null],[1692804516,null],[1692804517,null],[1692804518,null],[1692804519,null],[1692804520,null],[1692804521,null],[1692804522,null],[1692804523,null],[1692804524,null],[1692804525,null],[1692804526,null],[1692804527,null],[1692804528,null],[1692804529,null],[1692804530,null],[1692804531,null],[1692804532,null],[1692804533,null],[1692804534,null],[1692804535,null],[1692804536,null],[1692804537,null],[1692804538,null],[1692804539,null],[1692804540,null],[1692804541,null],[1692804542,null],[1692804543,null],[1692804544,null],[1692804545,null],[1692804546,null],[1692804547,null],[1692804548,null],[1692804549,null],[1692804550,null],[1692804551,null],[1692804552,null],[1692804553,null],[1692804554,null],[1692804555,null],[1692804556,null],[1692804557,null],[1692804558,null],[1692804559,null],[1692804560,null],[1692804561,null],[1692804562,null],[1692804563,null],[1692804564,null],[1692804565,null],[1692804566,null],[1692804567,null],[1692804568,null],[1692804569,null],[1692804570,null],[1692804571,null],[1692804572,null],[1692804573,null],[1692804574,null],[1692804575,null],[1692804576,null],[1692804577,null],[1692804578,null],[1692804579,null],[1692804580,null],[1692804581,null],[1692804582,null],[1692804583,null],[1692804584,null],[1692804585,null],[1692804586,null],[1692804587,null],[1692804588,null],[1692804589,null],[1692804590,null],[1692804591,null],[1692804592,null],[1692804593,null],[1692804594,null],[1692804595,null],[1692804596,null],[1692804597,null],[1692804598,null],[1692804599,null],[1692804600,null],[1692804601,null],[1692804602,null],[1692804603,null],[1692804604,null],[1692804605,null],[1692804606,null],[1692804607,null],[1692804608,null],[1692804609,null],[1692804610,null],[1692804611,null],[1692804612,null],[1692804613,null],[1692804614,null],[1692804615,null],[1692804616,null],[1692804617,null],[1692804618,null],[1692804619,null],[1692804620,null],[1692804621,null],[1692804622,null],[1692804623,null],[1692804624,null],[1692804625,null],[1692804626,null],[1692804627,null],[1692804628,null],[1692804629,null],[1692804630,null],[1692804631,null],[1692804632,null],[1692804633,null],[1692804634,null],[1692804635,null],[1692804636,null],[1692804637,null],[1692804638,null],[1692804639,null],[1692804640,null],[1692804641,null],[1692804642,null],[1692804643,null],[1692804644,null],[1692804645,null],[1692804646,null],[1692804647,null],[1692804648,null],[1692804649,null],[1692804650,null],[1692804651,null],[1692804652,null],[1692804653,null],[1692804654,null],[1692804655,null],[1692804656,null],[1692804657,null],[1692804658,null],[1692804659,null],[1692804660,null],[1692804661,null],[1692804662,null],[1692804663,null],[1692804664,null]]);

var responsetimepercentilesovertimeokPercentilesChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responsetimepercentilesovertimeokPercentilesContainer',
    zoomType: 'x',
    marginBottom: 60
  },
  colors: ['#c4fd90', '#7ff77f', '#6ff2ad', '#61ede6', '#58c7e0', '#4ea1d4', '#487ad9', '#3f52cc', '#7335dc', '#c73905', '#FFA900'],
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false,
    baseSeries: 9
  },
  rangeSelector: {
    rangeSelector: { align: "left" },
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#92918C',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
        },
        select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Response Time (ms)' },
      opposite: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  plotOptions: {
    arearange: { lineWidth: 1 },
    series: {
      dataGrouping: { enabled: false }
    }
  },
  series: [
  
    
         {
pointInterval: 1000,
name: 'min',
data: responsetimepercentilesovertimeokPercentiles[0],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 10
},
         {
pointInterval: 1000,
name: '25%',
data: responsetimepercentilesovertimeokPercentiles[1],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 9
},
         {
pointInterval: 1000,
name: '50%',
data: responsetimepercentilesovertimeokPercentiles[2],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 8
},
         {
pointInterval: 1000,
name: '75%',
data: responsetimepercentilesovertimeokPercentiles[3],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 7
},
         {
pointInterval: 1000,
name: '80%',
data: responsetimepercentilesovertimeokPercentiles[4],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 6
},
         {
pointInterval: 1000,
name: '85%',
data: responsetimepercentilesovertimeokPercentiles[5],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 5
},
         {
pointInterval: 1000,
name: '90%',
data: responsetimepercentilesovertimeokPercentiles[6],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 4
},
         {
pointInterval: 1000,
name: '95%',
data: responsetimepercentilesovertimeokPercentiles[7],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 3
},
         {
pointInterval: 1000,
name: '99%',
data: responsetimepercentilesovertimeokPercentiles[8],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 2
},
         {
pointInterval: 1000,
name: 'max',
data: responsetimepercentilesovertimeokPercentiles[9],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 1
},
  allUsersData
  ]
});

responsetimepercentilesovertimeokPercentilesChart.setTitle({
  text: '<span class="chart_title chart_title_">Response Time Percentiles over Time (OK)</span>',
  useHTML: true
});

var requests = unpack([[1692804460,[2,0,2]],[1692804461,[2,0,2]],[1692804462,[2,0,2]],[1692804463,[2,0,2]],[1692804464,[2,0,2]],[1692804465,[2,0,2]],[1692804466,[2,0,2]],[1692804467,[2,0,2]],[1692804468,[2,0,2]],[1692804469,[2,0,2]],[1692804470,[2,0,2]],[1692804471,[2,0,2]],[1692804472,[2,0,2]],[1692804473,[2,0,2]],[1692804474,[2,0,2]],[1692804475,[2,0,2]],[1692804476,[2,0,2]],[1692804477,[2,0,2]],[1692804478,[2,0,2]],[1692804479,[2,0,2]],[1692804480,[2,0,2]],[1692804481,[2,0,2]],[1692804482,[2,0,2]],[1692804483,[2,0,2]],[1692804484,[2,0,2]],[1692804485,[4,0,4]],[1692804486,[6,0,6]],[1692804487,[6,0,6]],[1692804488,[6,0,6]],[1692804489,[7,0,7]],[1692804490,[7,0,7]],[1692804491,[7,0,7]],[1692804492,[8,0,8]],[1692804493,[7,0,7]],[1692804494,[8,0,8]],[1692804495,[8,0,8]],[1692804496,[8,0,8]],[1692804497,[8,0,8]],[1692804498,[8,0,8]],[1692804499,[9,0,9]],[1692804500,[9,0,9]],[1692804501,[9,0,9]],[1692804502,[9,0,9]],[1692804503,[10,0,10]],[1692804504,[9,0,9]],[1692804505,[10,0,10]],[1692804506,[10,0,10]],[1692804507,[10,0,10]],[1692804508,[10,0,10]],[1692804509,[11,0,11]],[1692804510,[11,0,11]],[1692804511,[10,0,10]],[1692804512,[12,0,12]],[1692804513,[11,0,11]],[1692804514,[12,0,12]],[1692804515,[11,0,11]],[1692804516,[12,0,12]],[1692804517,[12,0,12]],[1692804518,[12,0,12]],[1692804519,[13,0,13]],[1692804520,[12,0,12]],[1692804521,[13,0,13]],[1692804522,[13,0,13]],[1692804523,[13,0,13]],[1692804524,[14,0,14]],[1692804525,[13,0,13]],[1692804526,[14,0,14]],[1692804527,[14,0,14]],[1692804528,[14,0,14]],[1692804529,[14,0,14]],[1692804530,[15,0,15]],[1692804531,[14,0,14]],[1692804532,[15,0,15]],[1692804533,[15,0,15]],[1692804534,[16,0,16]],[1692804535,[15,0,15]],[1692804536,[16,0,16]],[1692804537,[16,0,16]],[1692804538,[16,0,16]],[1692804539,[16,0,16]],[1692804540,[17,0,17]],[1692804541,[16,0,16]],[1692804542,[17,0,17]],[1692804543,[17,0,17]],[1692804544,[17,0,17]],[1692804545,[18,0,18]],[1692804546,[17,0,17]],[1692804547,[18,0,18]],[1692804548,[17,0,17]],[1692804549,[19,0,19]],[1692804550,[18,0,18]],[1692804551,[18,0,18]],[1692804552,[19,0,19]],[1692804553,[19,0,19]],[1692804554,[19,0,19]],[1692804555,[19,0,19]],[1692804556,[20,0,20]],[1692804557,[19,0,19]],[1692804558,[20,0,20]],[1692804559,[20,0,20]],[1692804560,[20,0,20]],[1692804561,[20,0,20]],[1692804562,[21,0,21]],[1692804563,[21,0,21]],[1692804564,[21,0,21]],[1692804565,[21,0,21]],[1692804566,[21,0,21]],[1692804567,[22,0,22]],[1692804568,[21,0,21]],[1692804569,[22,0,22]],[1692804570,[22,0,22]],[1692804571,[22,0,22]],[1692804572,[23,0,23]],[1692804573,[23,0,23]],[1692804574,[23,0,23]],[1692804575,[23,0,23]],[1692804576,[23,0,23]],[1692804577,[23,0,23]],[1692804578,[23,0,23]],[1692804579,[24,0,24]],[1692804580,[24,0,24]],[1692804581,[24,0,24]],[1692804582,[25,0,25]],[1692804583,[24,0,24]],[1692804584,[25,0,25]],[1692804585,[25,0,25]],[1692804586,[25,0,25]],[1692804587,[25,0,25]],[1692804588,[25,0,25]],[1692804589,[26,0,26]],[1692804590,[26,0,26]],[1692804591,[26,0,26]],[1692804592,[26,0,26]],[1692804593,[27,0,27]],[1692804594,[26,0,26]],[1692804595,[27,0,27]],[1692804596,[27,0,27]],[1692804597,[27,0,27]],[1692804598,[27,0,27]],[1692804599,[28,0,28]],[1692804600,[28,0,28]],[1692804601,[27,0,27]],[1692804602,[29,0,29]],[1692804603,[28,0,28]],[1692804604,[29,0,29]],[1692804605,[28,0,28]],[1692804606,[29,0,29]],[1692804607,[29,0,29]],[1692804608,[29,0,29]],[1692804609,[30,0,30]],[1692804610,[29,0,29]],[1692804611,[30,0,30]],[1692804612,[30,0,30]],[1692804613,[30,0,30]],[1692804614,[31,0,31]],[1692804615,[30,0,30]],[1692804616,[31,0,31]],[1692804617,[31,0,31]],[1692804618,[31,0,31]],[1692804619,[31,0,31]],[1692804620,[32,0,32]],[1692804621,[31,0,31]],[1692804622,[32,0,32]],[1692804623,[32,0,32]],[1692804624,[33,0,33]],[1692804625,[32,0,32]],[1692804626,[33,0,33]],[1692804627,[33,0,33]],[1692804628,[33,0,33]],[1692804629,[33,0,33]],[1692804630,[34,0,34]],[1692804631,[33,0,33]],[1692804632,[33,0,33]],[1692804633,[34,0,34]],[1692804634,[35,0,35]],[1692804635,[35,0,35]],[1692804636,[34,0,34]],[1692804637,[35,0,35]],[1692804638,[34,0,34]],[1692804639,[36,0,36]],[1692804640,[35,0,35]],[1692804641,[35,0,35]],[1692804642,[36,0,36]],[1692804643,[36,0,36]],[1692804644,[36,0,36]],[1692804645,[36,0,36]],[1692804646,[37,0,37]],[1692804647,[36,0,36]],[1692804648,[37,0,37]],[1692804649,[37,0,37]],[1692804650,[37,0,37]],[1692804651,[37,0,37]],[1692804652,[38,0,38]],[1692804653,[38,0,38]],[1692804654,[38,0,38]],[1692804655,[38,0,38]],[1692804656,[38,0,38]],[1692804657,[39,0,39]],[1692804658,[38,0,38]],[1692804659,[39,0,39]],[1692804660,[39,0,39]],[1692804661,[39,0,39]],[1692804662,[40,0,40]],[1692804663,[40,0,40]],[1692804664,[58,0,58]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'requests',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of requests' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: requests[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData
  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of requests per second</span>',
  useHTML: true
});

var responses = unpack([[1692804460,[2,0,2]],[1692804461,[2,0,2]],[1692804462,[2,0,2]],[1692804463,[2,0,2]],[1692804464,[2,0,2]],[1692804465,[2,0,2]],[1692804466,[2,0,2]],[1692804467,[2,0,2]],[1692804468,[2,0,2]],[1692804469,[2,0,2]],[1692804470,[2,0,2]],[1692804471,[2,0,2]],[1692804472,[2,0,2]],[1692804473,[2,0,2]],[1692804474,[2,0,2]],[1692804475,[2,0,2]],[1692804476,[2,0,2]],[1692804477,[2,0,2]],[1692804478,[2,0,2]],[1692804479,[2,0,2]],[1692804480,[2,0,2]],[1692804481,[2,0,2]],[1692804482,[2,0,2]],[1692804483,[2,0,2]],[1692804484,[2,0,2]],[1692804485,[4,0,4]],[1692804486,[6,0,6]],[1692804487,[6,0,6]],[1692804488,[6,0,6]],[1692804489,[7,0,7]],[1692804490,[7,0,7]],[1692804491,[7,0,7]],[1692804492,[8,0,8]],[1692804493,[7,0,7]],[1692804494,[8,0,8]],[1692804495,[8,0,8]],[1692804496,[8,0,8]],[1692804497,[8,0,8]],[1692804498,[8,0,8]],[1692804499,[9,0,9]],[1692804500,[9,0,9]],[1692804501,[9,0,9]],[1692804502,[9,0,9]],[1692804503,[10,0,10]],[1692804504,[9,0,9]],[1692804505,[10,0,10]],[1692804506,[10,0,10]],[1692804507,[10,0,10]],[1692804508,[10,0,10]],[1692804509,[11,0,11]],[1692804510,[11,0,11]],[1692804511,[10,0,10]],[1692804512,[12,0,12]],[1692804513,[11,0,11]],[1692804514,[12,0,12]],[1692804515,[11,0,11]],[1692804516,[12,0,12]],[1692804517,[12,0,12]],[1692804518,[12,0,12]],[1692804519,[13,0,13]],[1692804520,[12,0,12]],[1692804521,[13,0,13]],[1692804522,[13,0,13]],[1692804523,[13,0,13]],[1692804524,[14,0,14]],[1692804525,[13,0,13]],[1692804526,[14,0,14]],[1692804527,[14,0,14]],[1692804528,[14,0,14]],[1692804529,[14,0,14]],[1692804530,[15,0,15]],[1692804531,[14,0,14]],[1692804532,[15,0,15]],[1692804533,[15,0,15]],[1692804534,[16,0,16]],[1692804535,[15,0,15]],[1692804536,[16,0,16]],[1692804537,[16,0,16]],[1692804538,[16,0,16]],[1692804539,[16,0,16]],[1692804540,[17,0,17]],[1692804541,[16,0,16]],[1692804542,[17,0,17]],[1692804543,[17,0,17]],[1692804544,[17,0,17]],[1692804545,[18,0,18]],[1692804546,[17,0,17]],[1692804547,[18,0,18]],[1692804548,[17,0,17]],[1692804549,[19,0,19]],[1692804550,[18,0,18]],[1692804551,[18,0,18]],[1692804552,[19,0,19]],[1692804553,[19,0,19]],[1692804554,[19,0,19]],[1692804555,[19,0,19]],[1692804556,[20,0,20]],[1692804557,[19,0,19]],[1692804558,[20,0,20]],[1692804559,[20,0,20]],[1692804560,[20,0,20]],[1692804561,[20,0,20]],[1692804562,[21,0,21]],[1692804563,[21,0,21]],[1692804564,[21,0,21]],[1692804565,[21,0,21]],[1692804566,[21,0,21]],[1692804567,[22,0,22]],[1692804568,[21,0,21]],[1692804569,[22,0,22]],[1692804570,[22,0,22]],[1692804571,[22,0,22]],[1692804572,[23,0,23]],[1692804573,[23,0,23]],[1692804574,[23,0,23]],[1692804575,[23,0,23]],[1692804576,[23,0,23]],[1692804577,[23,0,23]],[1692804578,[23,0,23]],[1692804579,[24,0,24]],[1692804580,[24,0,24]],[1692804581,[24,0,24]],[1692804582,[25,0,25]],[1692804583,[24,0,24]],[1692804584,[25,0,25]],[1692804585,[25,0,25]],[1692804586,[25,0,25]],[1692804587,[25,0,25]],[1692804588,[25,0,25]],[1692804589,[26,0,26]],[1692804590,[26,0,26]],[1692804591,[26,0,26]],[1692804592,[26,0,26]],[1692804593,[27,0,27]],[1692804594,[26,0,26]],[1692804595,[27,0,27]],[1692804596,[27,0,27]],[1692804597,[27,0,27]],[1692804598,[27,0,27]],[1692804599,[28,0,28]],[1692804600,[28,0,28]],[1692804601,[27,0,27]],[1692804602,[29,0,29]],[1692804603,[28,0,28]],[1692804604,[29,0,29]],[1692804605,[28,0,28]],[1692804606,[29,0,29]],[1692804607,[29,0,29]],[1692804608,[29,0,29]],[1692804609,[30,0,30]],[1692804610,[29,0,29]],[1692804611,[30,0,30]],[1692804612,[30,0,30]],[1692804613,[30,0,30]],[1692804614,[31,0,31]],[1692804615,[30,0,30]],[1692804616,[31,0,31]],[1692804617,[31,0,31]],[1692804618,[31,0,31]],[1692804619,[31,0,31]],[1692804620,[32,0,32]],[1692804621,[31,0,31]],[1692804622,[32,0,32]],[1692804623,[32,0,32]],[1692804624,[33,0,33]],[1692804625,[32,0,32]],[1692804626,[33,0,33]],[1692804627,[33,0,33]],[1692804628,[33,0,33]],[1692804629,[33,0,33]],[1692804630,[34,0,34]],[1692804631,[33,0,33]],[1692804632,[33,0,33]],[1692804633,[34,0,34]],[1692804634,[35,0,35]],[1692804635,[35,0,35]],[1692804636,[34,0,34]],[1692804637,[35,0,35]],[1692804638,[34,0,34]],[1692804639,[36,0,36]],[1692804640,[35,0,35]],[1692804641,[35,0,35]],[1692804642,[36,0,36]],[1692804643,[36,0,36]],[1692804644,[36,0,36]],[1692804645,[36,0,36]],[1692804646,[37,0,37]],[1692804647,[36,0,36]],[1692804648,[37,0,37]],[1692804649,[37,0,37]],[1692804650,[37,0,37]],[1692804651,[37,0,37]],[1692804652,[38,0,38]],[1692804653,[38,0,38]],[1692804654,[38,0,38]],[1692804655,[38,0,38]],[1692804656,[38,0,38]],[1692804657,[39,0,39]],[1692804658,[38,0,38]],[1692804659,[39,0,39]],[1692804660,[39,0,39]],[1692804661,[39,0,39]],[1692804662,[40,0,40]],[1692804663,[40,0,40]],[1692804664,[58,0,58]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responses',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of responses' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: responses[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
},
{
color: '#68b65c',
name: 'OK',
data: responses[1],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
{
color: '#f15b4f',
name: 'KO',
data: responses[2],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData,
{
  
type: 'pie',
name: 'Distribution',
data: [
  {name: 'OK', y: 0.0, color: '#68b65c'},{name: 'KO', y: 4190.0, color: '#f15b4f'}
],
center: [775, -40],
size: 70,
showInLegend: false,
dataLabels: { enabled: false },
dataGrouping: { enabled: false }

}

  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of responses per second</span>',
  useHTML: true
});

var scatterChart = new Highcharts.Chart({
  chart: {
    renderTo: 'container_response_time_dispersion', 
    defaultSeriesType: 'scatter',
    zoomType: 'xy',
    marginBottom: 90
  },
  credits: { enabled: false },
  xAxis: {
    title: {
      enabled: true,
      text: 'Global number of requests per second',
      style: { fontWeight: 'bold' }
    },
    startOnTick: true,
    endOnTick: true,
    showLastLabel: true,
    min: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  yAxis: {
    min: 0,
    title: { text: 'Response Time (ms)' }
  },
  tooltip: {
    formatter: function() {
         return ''+ this.y +' ms at ' + this.x + ' allreq/s';
    }
  },
  legend: {
    enabled: true,
    floating: true,
    y: 0,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
  },
  plotOptions: {
    scatter: {
      marker: {
        radius: 3,
        states: {
          hover: {
            enabled: true,
            lineColor: 'rgb(100,100,100)'
          }
        }
      },
      states: {
        hover: {
          marker: { enabled: false }
        }
      }
    }
  },
  series: [
	  {
type: 'scatter',
color: '#68b65c',
name: 'OK',
data: [
[]
]},
	  {
type: 'scatter',
color: '#f15b4f',
name: 'KO',
data: [
[5,1],[6,3],[6,1],[6,1],[6,1],[6,1],[6,2],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[7,0],[7,0],[7,1],[8,1],[9,1],[9,1],[9,1],[10,0],[11,0],[11,1],[11,1],[11,0],[16,1],[21,1],[26,1],[30,1],[35,1],[37,1],[42,1],[47,1],[49,1],[56,1],[58,1],[62,1],[65,1],[70,1],[75,1],[79,1],[81,1],[86,1],[92,1],[94,1],[99,1],[101,1],[107,1],[110,1],[116,1],[118,0],[121,0],[127,1],[130,1],[136,1],[138,3],[142,1],[146,0],[151,1],[154,0],[159,1],[162,0],[166,0],[171,0],[175,0],[178,1],[182,1],[187,0],[191,1],[195,0],[198,1],[202,1],[207,1],[210,0],[215,0],[219,0],[224,0],[226,0],[230,0],[235,0],[239,0],[243,0],[247,1],[251,1],[255,1],[259,0],[262,1],[267,1],[270,1],[277,1],[278,1],[282,1],[287,0],[291,1],[296,1],[298,1],[303,1],[306,0],[311,1],[315,1],[320,1],[322,1],[327,0],[331,0],[336,0],[339,1],[342,1],[347,0],[351,0],[356,1],[359,1],[362,0],[368,0],[371,1],[377,0],[378,0],[383,0],[386,1],[391,1],[396,1],[398,0],[403,0],[408,0],[411,0],[416,0],[419,1],[423,1],[426,0],[431,0],[437,0],[439,0],[443,0],[446,0],[453,0],[456,1],[459,1],[462,0],[468,0],[471,0],[476,1],[480,1],[482,0],[488,1],[492,0],[496,1],[498,1],[504,1],[508,1],[511,0],[516,1],[519,1],[524,0],[526,0],[532,0],[537,0],[539,0],[543,0],[547,1],[552,0],[556,0],[559,0],[563,0],[568,0],[572,0],[576,0],[580,1],[584,1],[587,0],[592,0],[595,1],[601,0],[603,1],[607,1],[611,1],[618,1],[621,0],[623,0],[627,1],[631,1],[637,0],[640,0],[643,0],[648,1],[652,0],[657,0],[659,0],[664,1],[668,1],[672,1],[675,1],[681,1],[683,0],[689,0],[691,1],[697,1],[701,1],[702,1],[708,0],[712,0],[717,1],[720,1],[723,0],[729,1],[732,1],[1083,1]
]}
	]
});

scatterChart.setTitle({
  text: '<span class="chart_title">Response Time against Global Throughput</span>',
  useHTML: true
});

    });
</script>
</div>
</body>
</html>
